<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/15 0015
 * Time: 9:36
 */

namespace Cohuna\Models;

use Phalcon\Di;

/**
 * 订单详情表
 * @package Cohuna\Models
 */
class CohunaOrderDetail extends ModelBase
{
    public $id;
    public $order_no;
    public $merchant_id;
    public $goods_id;
    public $goods_name;
    public $quantity;
    public $price;
    public $goods_category;
    public $body;
    public $show_url;
    public $image_url;

    public function getSource()
    {
        return Di::getDefault()->getShared('config')->database->default->prefix . 'order_detail';
    }
}